package com.express.e.root.service;

import com.express.e.root.bean.Admin;

import java.util.List;

public interface AdminService {

    Admin loginIn(Admin admin);

    Boolean loginOut(Admin admin);

    Admin addAdmin(Admin admin);

    Boolean deleteAdmin(Integer adminId);

    Admin updateAdmin(Admin admin);

    List adminList();

    Admin queryById(Integer adminId);

    Admin queryByPhone(String phone);

    Admin queryByName(String adminName);

    Admin queryByCardId(String cardId);
}
